import request from '@/util/request'

export function pageGetDeviceStatus(data) {
  return request({
    url: '/iot/device/status/pageGet',
    method: 'post',
    data
  })
}

export function pageGetDeviceStatusAll(data) {
  return request({
    url: '/iot/device/status/pageGetAll',
    method: 'post',
    data
  })
}

export function listDeviceStatus(data) {
  return request({
    url: '/iot/device/status/list',
    method: 'post',
    data
  })
}

export function deleteDeviceStatusList(data) {
  return request({
    url: '/iot/device/status/deleteList',
    method: 'post',
    data
  })
}

export function deleteStatusError(data) {
  return request({
    url: '/iot/device/status/delete',
    method: 'post',
    data
  })
}
/*
获取当月设备状态统计
*/
export function monthCount(data) {
  return request({
    url: '/iot/device/status/monthCount',
    method: 'post',
    data
  })
}

